package io.renren.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import io.renren.dao.CouponUserDao;
import io.renren.entity.CouponUserEntity;
import io.renren.entity.CouponUserVOEntity;
import io.renren.service.CouponUserService;
import java.util.*;


@Service("couponUserService")
public class CouponUserServiceImpl extends ServiceImpl<CouponUserDao, CouponUserEntity> implements CouponUserService {

    @Override
    public List<CouponUserVOEntity>  getCouponByUserId(int userid){
        List<CouponUserVOEntity> list = baseMapper.getCouponByUserId(userid);
        return list;
    }
}
